import request from '@/utils/request'

export function getCalendarList(params) {
    return request({
        url: '/taskRedmineCalendar/list',
        method: 'get',
        params,
    })
}

export function generateCalendarList(data) {
    return request({
        url: '/taskRedmineCalendar/generate',
        method: 'post',
        data,
    })
}

export function generateCalendarAllList(data) {
    return request({
        url: '/taskRedmineCalendar/generateAll',
        method: 'post',
        data,
    })
}